#pragma once

struct lua_State;
class LuaStackChecker
{
public:
  LuaStackChecker(lua_State* L, const char* filename = "", int line = 0);
  ~LuaStackChecker();

private:
  lua_State* luaState_;
  const char* filename_;
  int line_;
  int top_;
};
